/**
 *
 */
package com.zhuoyue.elmt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.elmt.entity.WbInsuranceRecord;
import com.zhuoyue.elmt.dao.WbInsuranceRecordDao;

/**
 * 保险记录Service
 * @author JiangYH
 * @version 2017-04-25
 */
@Service
@Transactional(readOnly = true)
public class WbInsuranceRecordService extends CrudService<WbInsuranceRecordDao, WbInsuranceRecord> {

	public WbInsuranceRecord get(String id) {
		return super.get(id);
	}
	
	public List<WbInsuranceRecord> findList(WbInsuranceRecord wbInsuranceRecord) {
		return super.findList(wbInsuranceRecord);
	}
	
	public Page<WbInsuranceRecord> findPage(Page<WbInsuranceRecord> page, WbInsuranceRecord wbInsuranceRecord) {
		return super.findPage(page, wbInsuranceRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(WbInsuranceRecord wbInsuranceRecord) {
		super.save(wbInsuranceRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(WbInsuranceRecord wbInsuranceRecord) {
		super.delete(wbInsuranceRecord);
	}
	
}